Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

259
Vistas
what does this syntax means p.then(onFulfilled[, onRejected])

in the MDN documentation i have seen it many times for example

p.then(onFulfilled[, onRejected]);

this method takes two functions callbacks that I understand but why in the syntax example provided by MDN there is brackets like its an array and to add to my confusion there is a comma in the beginning or maybe this doesn't mean an array at all and means something else i know it might be something really small or trivial but i cant find relative information regarding this thank you so much for helping

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda